package org.finesys.common.security.client.exception;

import org.springframework.security.oauth2.core.OAuth2AuthenticationException;
import org.springframework.security.oauth2.core.OAuth2Error;

public class RedirectUriGiteeException extends OAuth2AuthenticationException {

    public RedirectUriGiteeException(String errorCode) {
        super(errorCode);
    }

    public RedirectUriGiteeException(OAuth2Error oAuth2Error) {
        super(oAuth2Error);
    }

    public RedirectUriGiteeException(OAuth2Error error, Throwable cause) {
        super(error, cause);
    }

    public RedirectUriGiteeException(OAuth2Error error, String message) {
        super(error, message);
    }

    public RedirectUriGiteeException(OAuth2Error error, String message, Throwable cause) {
        super(error, message, cause);
    }

    @Override
    public OAuth2Error getError() {
        return super.getError();
    }
}
